package com.wft.chapter06.enumtest;

public enum Season {
    SPRING, SUMMER, FALL, WINTER;

    public static void main(String[] args) {
        Season spring = Enum.valueOf(Season.class, "SPRING");
        System.out.println(spring);

        spring = Enum.valueOf(Season.class, "Spring");
        System.out.println(spring);
    }
}
